import axios from 'axios'

const request = axios.create({
    baseURL: '/api',
    timeout: 5000,
})

 
request.interceptors.response.use(function (response) {
    const res = response.data
    return res
})

export default request